# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-ovos-audio-plugin-simple
pkgver=0.0.1
pkgrel=0
pkgdesc="OVOS simple audio plugin"
url="https://github.com/OpenVoiceOS/ovos-audio-plugin-simple"
arch="noarch"
license="Apache-2.0"
depends="py3-ovos-plugin-manager"
makedepends="
	py3-gpep517
	py3-setuptools
	py3-wheel
	"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/OpenVoiceOS/ovos-audio-plugin-simple/archive/refs/tags/V$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/ovos-audio-plugin-simple-$pkgver"

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	python3 -m installer -d "$pkgdir" \
		.dist/*.whl
}

sha512sums="
7972c5538c3fef8641c7b71bc709e1b0e176c4f16f3225a0aec073f2546d21a5f56cddccf2f8ab635e20ba4d2408104c66803731acedfd8a7ac02e8b628b2164  py3-ovos-audio-plugin-simple-0.0.1.tar.gz
"
